home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 February (DVD) / PCWorld_2008-02_DVD.iso / v cisle / PHP / PHP.exe / xampp-win32-1.6.5-installer.exe / htdocs / xampp / head.php < prev    next >
Encoding:
PHP Script  |  2007-12-20  |  1.1 KB  |  42 lines

  1. <html>
  2. <head>
  3. <meta name="author" content="Kai Oswald Seidler">
  4. <link href="xampp.css" rel="stylesheet" type="text/css">
  5. </head>
  6.  
  7. <body style="background: #ffffff; margin-top: 8px; margin-left: 8px;">
  8.  
  9. <table cellpadding=0 cellspacing=0 border=0>
  10. <tr>
  11. <td><img src="img/blank.gif" width=89 height=1></td>
  12. <td><img src="img/xampp-logo-new.gif"></td>
  13. <td><img src="img/blank.gif" width=5 height=1></td>
  14. <? if(file_get_contents("lang.tmp")=="de") { ?>
  15. <td><img src="img/head-fuer.gif"></td>
  16. <? } else { ?>
  17. <td><img src="img/head-for.gif"></td>
  18. <? } ?>
  19. <td><img src="img/blank.gif" width=10 height=1></td>
  20. <td><img src="img/head-windows.gif"></td>
  21. <td width="90%" id="langsel">
  22. <div>
  23. <?php
  24.     include("lang/languages.php");
  25.     $l=file_get_contents("lang.tmp");
  26.         $i=0;
  27.         while (list($key, $value) = each($languages))
  28.         {
  29.                 if($i++)echo ' / ';
  30.         $s="";
  31.         if($l==$key)$s='style="font-weight: bold;"';
  32.                 echo '<a '.$s.' target="_parent" href="/xampp/lang.php?'.$key.'">'.$value.'</a>';
  33.         }
  34. ?>
  35. </div>
  36. </td>
  37. </tr>
  38. </table>
  39.  
  40. </body>
  41. </html>
  42.